<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/","scheme":"Muse","version":"7.7.1","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="title: 关于binwalk date: 2020-4-2 1.判断类，一个图片中藏有一个压缩包，或者有其他图片，或者这就是一个压缩包，改了后缀而已。格式：binwalk 文件名 例如：binwalk一张图片后发现里边有另一张图片的信息（可以用dd工具或者winhex根据位置将另一个文件提取出来） 2.binwalk里面有分离文件的功能。格式：binwalk -D&#x3D;类型 文件名（-D&#x3D;类型 就">
<meta property="og:type" content="article">
<meta property="og:title" content="关于binwalk">
<meta property="og:url" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/index.html">
<meta property="og:site_name" content="tender healer">
<meta property="og:description" content="title: 关于binwalk date: 2020-4-2 1.判断类，一个图片中藏有一个压缩包，或者有其他图片，或者这就是一个压缩包，改了后缀而已。格式：binwalk 文件名 例如：binwalk一张图片后发现里边有另一张图片的信息（可以用dd工具或者winhex根据位置将另一个文件提取出来） 2.binwalk里面有分离文件的功能。格式：binwalk -D&#x3D;类型 文件名（-D&#x3D;类型 就">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200402221356678.png">
<meta property="og:image" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215014173.png">
<meta property="og:image" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215111780.png">
<meta property="og:image" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215155074.png">
<meta property="article:published_time" content="2020-04-02T14:15:41.429Z">
<meta property="article:modified_time" content="2020-04-06T14:48:35.096Z">
<meta property="article:author" content="YQ Cong">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200402221356678.png">

<link rel="canonical" href="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome: false,
    isPost: true
  };
</script>

  <title>关于binwalk | tender healer</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-meta">

    <div>
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">tender healer</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
        <p class="site-subtitle">Recording learning gains</p>
  </div>

  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>
</div>


<nav class="site-nav">
  
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
  </ul>

</nav>
</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content">
            

  <div class="posts-expand">
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block " lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="YQ Cong">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="tender healer">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          关于binwalk
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-04-02 22:15:41" itemprop="dateCreated datePublished" datetime="2020-04-02T22:15:41+08:00">2020-04-02</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-04-06 22:48:35" itemprop="dateModified" datetime="2020-04-06T22:48:35+08:00">2020-04-06</time>
              </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p>title: 关于binwalk</p>
<p>date: 2020-4-2</p>
<p>1.判断类，一个图片中藏有一个压缩包，或者有其他图片，或者这就是一个压缩包，改了后缀而已。格式：<strong>binwalk 文件名</strong></p>
<p>例如：binwalk一张图片后发现里边有另一张图片的信息（可以用dd工具或者winhex根据位置将另一个文件提取出来）</p>
<p>2.binwalk里面有分离文件的功能。格式：<strong>binwalk -D=类型 文件名</strong>（-D=类型 就会分离出那种类型的文件到一个文件夹里）   例如：binwalk -D=jpeg oddpic.jpg  </p>
<p>例：<img src="/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200402221356678.png" alt="image-20200402221356678"></p>
<p>3.解压类，binwalk后发现是Linux的文件系统或者是固件的文件，<strong>binwalk -eM</strong>，直接将文件解压出来。</p>
<p>4.隐写时，首先可以用它来找到其中的字符串<br>例如：有一道题，它直接给了一个文件，没有后缀，不知道是什么文件，可用 <strong>binwalk 文件名</strong>命令，返回了一个字符串信息，比如得到字符串信息中发现 pohsotohp，是Photoshop的倒写，可有思路往后做题了。找字符串的信息也可以用stegsolve</p>
<p><img src="/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215014173.png" alt="image-20200406215014173"></p>
<p>此图片的命令直接包含了所有名字中带8的图片</p>
<p>每个如图所示选中的区域就是一张图片的分析结果</p>
<p><img src="/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215111780.png" alt="image-20200406215111780"></p>
<p><img src="/2020/04/02/%E5%85%B3%E4%BA%8Ebinwalk/image-20200406215155074.png" alt="image-20200406215155074"></p>

    </div>

    
    
    

      <footer class="post-footer">

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/03/31/%E5%8F%8C%E5%9B%BE%E9%9A%90%E5%86%99/" rel="prev" title="双图隐写">
      <i class="fa fa-chevron-left"></i> 双图隐写
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/04/04/python%E5%88%87%E7%89%87/" rel="next" title="python切片">
      python切片 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  

  </div>


          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let activeClass = CONFIG.comments.activeClass;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">YQ Cong</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">13</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">YQ Cong</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> 强力驱动 v4.2.0
  </div>
  <span class="post-meta-divider">|</span>
  <div class="theme-info">主题 – <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> v7.7.1
  </div>

        








      </div>
    </footer>
  </div>

  
  
  <script color='0,0,255' opacity='0.5' zIndex='-1' count='99' src="/lib/canvas-nest/canvas-nest.min.js"></script>
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  















  

  

</body>
</html>
